app: fix indentation
authorSébastien Wilmet <swilmet@gnome.org>
Sat, 9 Apr 2016 13:21:27 +0000 (15:21 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sat, 9 Apr 2016 16:54:42 +0000 (18:54 +0200)
And add missing curly braces.

gtk/gtkapplication.c

index b57ebfbc01cf4958afde88965d960c17db71cdc5..51e0216587e2e07da7c01369efdd47b6b6319acc 100644 (file)
@@ -607,14 +607,16 @@ gtk_application_load_resources (GtkApplication *application)
 
     path = g_strconcat (base_path, "/gtk/help-overlay.ui", NULL);
     if (g_resources_get_info (path, G_RESOURCE_LOOKUP_FLAGS_NONE, NULL, NULL, NULL))
-    {
-      const gchar * const accels[] = { "<Primary>F1", "<Primary>question", NULL };
+      {
+        const gchar * const accels[] = { "<Primary>F1", "<Primary>question", NULL };
 
-      application->priv->help_overlay_path = path;
-      gtk_application_set_accels_for_action (application, "win.show-help-overlay", accels);
-    }
-  else
-    g_free (path);
+        application->priv->help_overlay_path = path;
+        gtk_application_set_accels_for_action (application, "win.show-help-overlay", accels);
+      }
+    else
+      {
+        g_free (path);
+      }
   }
 }